<template>
  <div>
    <Top />
    <router-view :key="$route.fullPath"></router-view>
    <Footer />
  </div>
</template>

<script>
import Top from "../components/Top.vue";
import Footer from "../components/Footer.vue";
export default {
  components: {
    Top,
    Footer,
  },
  mounted() {
    // this.$router.afterEach((to, form, next) => {
    //   window.scrollTo(0, 0);
    // });
  },
};
</script>

<style scoped>
</style>